package com.neusoft.dibuy.service.impl;

import com.neusoft.dibuy.properties.StudentProperties;
import org.springframework.beans.factory.annotation.Autowired;

public class StudentService {
    @Autowired
    private StudentProperties studentProperties;
    public void print() {
        System.out.println("姓名："+studentProperties.getName());
        System.out.println("年龄："+studentProperties.getAge());
        System.out.println("性别："+studentProperties.getSex());
    }
}
